home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / interapplication comm / menuscripter / sources / msresultwind.h < prev    next >
Encoding:
Text File  |  2000-06-23  |  680 b   |  25 lines

  1. // MSResultWind.h
  2. //
  3. // Written by Don Swatman and Greg Sutton.
  4. // ©Apple Computer Inc 1996, all rights reserved.
  5.     
  6.  
  7. #ifndef __MSRESULTWIND__
  8. #define __MSRESULTWIND__
  9.  
  10. #include "MSGlobals.h"
  11.  
  12. OSErr        OpenResultWind( void );
  13. void        CloseResultWind( WindowPtr theWind );
  14. WindowPtr    GetResultsWindPtr( void );
  15. DPtr         GetResultsDoc( void );
  16. Boolean        IsThereAResultWind( void );
  17. Boolean        IsThisResultWind( WindowPtr theWind );
  18.  
  19. OSErr        DisplayDescResult( WindowPtr theWindow,
  20.                                 AEDesc* theTextDesc, DPtr theDoc, OSErr theErr );
  21. OSErr        DisplayOSAIDResult( WindowPtr theWindow,
  22.                                 OSAID theOSAID, DPtr theDoc, OSErr theErr );
  23. OSAError    DisplayOSAScriptError( DPtr theDoc );
  24.  
  25. #endif